const express = require("express")

const app = express()

app.use('/public', express.static("public"))

app.get('/', (req, res) => {
    res.send("hello world")
})

const server = app.listen(8081, () => {
    const host = server.address().address
    const port = server.address().port

    console.log(`host:${host},port:${port}`)
})
